package cn.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Gateway {
	private static final long serialVersionUID = -2297958742080759075L;
	private int id;// 序号
	private String gate_id;// 网关编号
	private String gate_name;// 网关名称
	private String gate_ip;// 网关ip;
	private int gate_port;// 网关端口
	private Date gate_addTime;// 添加时间
	private Boolean gate_status;// 网关状态
	private List<Sensor> sensors = new ArrayList<Sensor>();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getGate_id() {
		return gate_id;
	}

	public void setGate_id(String gate_id) {
		this.gate_id = gate_id;
	}

	public String getGate_name() {
		return gate_name;
	}

	public void setGate_name(String gate_name) {
		this.gate_name = gate_name;
	}

	public String getGate_ip() {
		return gate_ip;
	}

	public void setGate_ip(String gate_ip) {
		this.gate_ip = gate_ip;
	}

	public int getGate_port() {
		return gate_port;
	}

	public void setGate_port(int gate_port) {
		this.gate_port = gate_port;
	}

	public Date getGate_addTime() {
		return gate_addTime;
	}

	public void setGate_addTime(Date gate_addTime) {
		this.gate_addTime = gate_addTime;
	}

	public Boolean getGate_status() {
		return gate_status;
	}

	public void setGate_status(Boolean gate_status) {
		this.gate_status = gate_status;
	}
}
